<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NewReplyPage.ascx.cs" Inherits="forums_controls_threads_NewReplyPage" %>
<%@ Register Src="../../../controls/misc/FCKEditor.ascx" TagName="FCKEditor" TagPrefix="uc4" %>
<%@ Register Src="../misc/Header.ascx" TagName="Header" TagPrefix="uc1" %>
<%@ Register Src="../posts/PreviewPost.ascx" TagName="PreviewPost" TagPrefix="uc3" %>
<%@ Register Src="ThreadPosts.ascx" TagName="ThreadPosts" TagPrefix="uc2" %>
<uc1:Header ID="Header1" runat="server" />
<div class="forum_postbox">
    <asp:MultiView ID="mviewThread" runat="server">
        <asp:View ID="viewThread" runat="server">
            <uc3:PreviewPost ID="PreviewPost1" runat="server" />
            <p>
            Subject:
                <br />
            <asp:TextBox runat="server" ID="txtSubject" Width="300px" ></asp:TextBox>
                </p>
            <p>
            Post:
                <br />
            <uc4:FCKEditor ID="txtPost" runat="server"
                Height="500px"
                Width="700px" />
            </p>
            <p>
            <asp:Button runat="server" ID="btnSubmit" Text="Post" OnClick="btnSubmit_Click" ValidationGroup="NewPost" />
                <asp:Button ID="btnPreview" runat="server" OnClick="btnPreview_Click" Text="Preview" /></p>
            
            <hr />
            
            <p>
            Last 25 posts:
            </p>
            <uc2:ThreadPosts id="ThreadPosts1" runat="server">
                </uc2:ThreadPosts>
            
            
        </asp:View>
        <asp:View ID="viewNoThread" runat="server">
            Thread not found.
        </asp:View>
        <asp:View ID="viewThreadLocked" runat="server">
            This thread is locked.
        </asp:View>
    </asp:MultiView>
</div>